package indi.zhifa.core.auth.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.time.Duration;

@Configuration
@Data
@ConfigurationProperties(prefix = "zhifa-engine.auth")
public class AuthProperties {
    JWTConfig jwt;
    //TokenConfig token;
    PasswdConfig passwd;

    public AuthProperties(){
        jwt = new JWTConfig();
        passwd = new PasswdConfig();
    }
}
